/**
 * The MIT License (MIT)
 * 
 * Copyright (c) 2016 mo_yq5 (mo_yq5@163.com)
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 */
package com.vulgarsdk.captcha;

/**
 * 验证码配置信息，包括验证码有效期、验证码获取频率、允许输入错误次数、验证码类型、验证码长度等。
 *
 * @author mo_yq5
 * @since 2016年1月10日
 */
public interface CaptchaSetting {

	/**
	 * 验证码有效期（分钟）
	 */
	public int getIndate();

	/**
	 * 验证码允许发送间隔（秒）
	 */
	public int getLag();

	/**
	 * 一个验证码允许输入错误次数
	 */
	public int getBreak();

	/**
	 * 验证码类型
	 */
	public CaptchaType getType();

	/**
	 * 验证码长度
	 */
	public int getLength();
}
